//
//  ZXReadAddViewModel.h
//  XiMaFM
//
//  Created by fanzhuxian on 2017/9/8.
//  Copyright © 2017年 hcios. All rights reserved.
//

#import "BaseViewModel.h"
#import "ZXReadAddModel.h"

@interface ZXReadAddViewModel : BaseViewModel

@property (nonatomic,strong) ZXReadAddModel * model;

@property (nonatomic,assign) NSInteger listCount;

@property (nonatomic,assign) NSInteger pageCount;


@property (nonatomic,assign) NSInteger pageId;

@property (nonatomic,assign) NSInteger section;

// section是组数, index是按钮下标( 或者行标号)
// 图
- (NSURL *)coverURLForIndex:(NSInteger)index ;

// 标题
- (NSString *)titleForIndex:(NSInteger)index;

// 副标题
- (NSString *)lastUptrackTitleForIndex:(NSInteger)index;

// 评分
- (NSInteger)scoreForIndex:(NSInteger)index;

// 评论人数
- (NSInteger)commentsCountForIndex:(NSInteger)index;

// 价格
- (NSString *)displayDiscountedPriceForIndex:(NSInteger)index;

@end
